//
//  FMViewController.h
//  FMEngineer
//
//  Created by lixl on 17/9/19.
//
//

#import <UIKit/UIKit.h>

@interface FMViewController : UIViewController

@property(nonatomic,strong) UIButton *leftBtn;
@property(nonatomic,strong) UIButton *rightBtn;
//左边文字按钮
-(UIButton *)setLeftBarWithTitle:(NSString *)title;
//右边文字按钮
-(UIButton *)setRightBarWithTitle:(NSString *)title;
//左边图片按钮
-(UIButton *)setLeftBarWithImageName:(NSString *)imgName size:(CGSize)imgSize;
//右边图片按钮
-(UIButton *)setRightBarWithImageName:(NSString *)imgName size:(CGSize)imgSize;
//页面跳转
-(void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated;
//设置默认返回
-(void)setItemwithBack;
//页面返回方法
-(void)dismissController;
@end
